package cn.edu.hznu.ocw.domain;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;
import java.util.Set;

public class Course implements Serializable {
	private static final long serialVersionUID = 1L;

	private int id;

	// @Lob()
	private String canswer;

	private String cbook;

	private String ccode;

	private String ccrowd;

	private String cdesc;

	private String cdest;

	// @Lob()
	private String cexam;

	// @Lob()
	private byte[] cicon;

	private String cname;

	// @Temporal( TemporalType.TIMESTAMP)
	private Date ctime;

	// @Temporal( TemporalType.TIMESTAMP)
	private Date cupdate;

	private Lecturer lecturer;

	private SubType subtype;

	private Set<Section> sections;

	public Course() {
	}

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getCanswer() {
		return this.canswer;
	}

	public void setCanswer(String canswer) {
		this.canswer = canswer;
	}

	public String getCbook() {
		return this.cbook;
	}

	public void setCbook(String cbook) {
		this.cbook = cbook;
	}

	public String getCcode() {
		return this.ccode;
	}

	public void setCcode(String ccode) {
		this.ccode = ccode;
	}

	public String getCcrowd() {
		return this.ccrowd;
	}

	public void setCcrowd(String ccrowd) {
		this.ccrowd = ccrowd;
	}

	public String getCdesc() {
		return this.cdesc;
	}

	public void setCdesc(String cdesc) {
		this.cdesc = cdesc;
	}

	public String getCdest() {
		return this.cdest;
	}

	public void setCdest(String cdest) {
		this.cdest = cdest;
	}

	public String getCexam() {
		return this.cexam;
	}

	public void setCexam(String cexam) {
		this.cexam = cexam;
	}

	public byte[] getCicon() {
		return this.cicon;
	}

	public void setCicon(byte[] cicon) {
		this.cicon = cicon;
	}

	public String getCname() {
		return this.cname;
	}

	public void setCname(String cname) {
		this.cname = cname;
	}

	public Date getCtime() {
		return this.ctime;
	}

	public void setCtime(Date ctime) {
		this.ctime = ctime;
	}

	public Date getCupdate() {
		return this.cupdate;
	}

	public void setCupdate(Date cupdate) {
		this.cupdate = cupdate;
	}

	public Lecturer getLecturer() {
		return this.lecturer;
	}

	public void setLecturer(Lecturer lecturer) {
		this.lecturer = lecturer;
	}

	public SubType getSubtype() {
		return this.subtype;
	}

	public void setSubtype(SubType subtype) {
		this.subtype = subtype;
	}

	public Set<Section> getSections() {
		return this.sections;
	}

	public void setSections(Set<Section> sections) {
		this.sections = sections;
	}

}